Tighten yesterday's fix to work with old and new google data files.
authorrobertl <robertl>
Sat, 8 Jul 2006 18:39:58 +0000 (18:39 +0000)
committerrobertl <robertl>
Sat, 8 Jul 2006 18:39:58 +0000 (18:39 +0000)
google.c

index a3e8a108fefccf757877bf4d41a4adb765ccc413..958ab66d766a1a8c0932bde79e7c8d677459bc1b 100644 (file)
--- a/google.c
+++ b/google.c
@@ -329,9 +329,9 @@ google_read(void)
                  }
                  if ( panel ) {
                    panel += 8;
-                   end = strstr( panel, "/div><'," );
+                   end = strstr( panel, "/table><div class=\\\"legal" );
                    if ( end ) {
-                     strcpy(end,"</div>");
+                     strcpy(end,"/table></div>");
                      end = panel;
                      while ( (end = strstr( end, "\\\"" ))) {
                        memmove( end, end+1, strlen(end)+1 );